API Documentation
Public Member Functions | List of all members
nkGraphics::GltfMeshDecoder Class Referencefinal

A decoder that can handle gltf mesh. Supported format is glb, aka binary gltf 2. More...

Inheritance diagram for nkGraphics::GltfMeshDecoder:
nkGraphics::MeshDecoder

Public Member Functions

 GltfMeshDecoder ()
 
 ~GltfMeshDecoder ()
 
virtual bool canDecode (const nkMemory::StringView &sources) override
 
virtual bool decode (const nkMemory::StringView &sources, Mesh *outMesh) override
 
- Public Member Functions inherited from nkGraphics::MeshDecoder
 MeshDecoder ()
 
virtual ~MeshDecoder ()
 

Detailed Description

A decoder that can handle gltf mesh. Supported format is glb, aka binary gltf 2.

Constructor & Destructor Documentation

◆ GltfMeshDecoder()

nkGraphics::GltfMeshDecoder::GltfMeshDecoder ( )

Constructor.

◆ ~GltfMeshDecoder()

nkGraphics::GltfMeshDecoder::~GltfMeshDecoder ( )

Destructor.

Member Function Documentation

◆ canDecode()

virtual bool nkGraphics::GltfMeshDecoder::canDecode ( const nkMemory::StringView sources)
overridevirtual

◆ decode()

virtual bool nkGraphics::GltfMeshDecoder::decode ( const nkMemory::StringView sources,
Mesh outMesh 
)
overridevirtual

The documentation for this class was generated from the following file: